package com.enzo.pcms.base.model;

import com.itool.util.DateUtil;

import java.sql.Timestamp;

public abstract class BaseModel {
	private Timestamp createTmp;
	private Timestamp updateTmp;
	private boolean delFlag;
	
	public BaseModel() {
		createTmp=DateUtil.getCurrentDateTime();
		updateTmp=DateUtil.getCurrentDateTime();
	}
	public Timestamp getCreateTmp() {
		return createTmp;
	}
	public void setCreateTmp(Timestamp createTmp) {
		this.createTmp = createTmp;
	}
	public Timestamp getUpdateTmp() {
		return updateTmp;
	}
	public void setUpdateTmp(Timestamp updateTmp) {
		this.updateTmp = updateTmp;
	}
	public boolean isDelFlag() {
		return delFlag;
	}
	public void setDelFlag(boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	

}
